projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b4001e
)
GtkProgressBar: Set orientable style classes initially
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:11 +0000
(19:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 18 Jul 2014 23:39:11 +0000
(19:39 -0400)
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
gtk/gtkprogressbar.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprogressbar.c
b/gtk/gtkprogressbar.c
index 9291982d3429679e7f379dce97d005b36b27541e..65399214a639b13f5516d12a2d2283190c3c4e3a 100644
(file)
--- a/
gtk/gtkprogressbar.c
+++ b/
gtk/gtkprogressbar.c
@@
-322,6
+322,7
@@
gtk_progress_bar_init (GtkProgressBar *pbar)
priv->fraction = 0.0;
gtk_widget_set_has_window (GTK_WIDGET (pbar), FALSE);
+ _gtk_orientable_set_style_classes (GTK_ORIENTABLE (pbar));
}
static void